package com.soft.mainsite.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description:参数非空校验注解
 *
 * @author Jin
 * @create 2017-4-10
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ParamNotNull {

    /**
     * 校验的参数，多个参数用,号分割，如 parameter="userId,userName"
     *
     * @return
     */
    String parameter();
}
